package com.example.teacherservice.dto;

import lombok.Data;

import java.util.Date;

@Data
public class ClassCourseDTO {
    private Long id;
    private String courseName;
    private String introduction;
    private String coursePic;
    private Date joinTime;

    public ClassCourseDTO(Long id, String courseName, String introduction, String coursePic, Date joinTime) {
        this.id = id;
        this.courseName = courseName;
        this.introduction = introduction;
        this.coursePic = coursePic;
        this.joinTime = joinTime;
    }
}